#include "GMClientRequestPlayer.h"
#include "Engine.h"
#include "GameState.h"
//IMPLEMENTATION
void GMClientRequestPlayer::WriteToSckMsg( Networking::SockMsg* sm )
{
    sm->WriteInt(m_clientID);
}
bool GMClientRequestPlayer::Execute()
{
    //ONLY calls the SERVER implementation
    Engine::Instance()->GetCurrentState()->CreatePlayer(m_clientID);
    return true;
}
bool GMClientRequestPlayer::ReadFromSckMsg( Networking::SockMsg* sm )
{
    return sm->ReadInt(&m_clientID);
}
